Re: [NTG-context] Bug in math arrows

2018-01-10 Thread Aditya Mahajan
On Wed, 10 Jan 2018, Wolfgang Schuster wrote: Aditya Mahajan <mailto:adit...@umich.edu> 10. Januar 2018 um 17:27 Hi, There is a bug in extensible arrows. The syntax of extensible arrows is: \xleftarrow{below}{top} but when the optional argument is used \xleftarrow[small

Re: [NTG-context] Bug in math arrows

2018-01-10 Thread Wolfgang Schuster
Aditya Mahajan <mailto:adit...@umich.edu> 10. Januar 2018 um 17:27 Hi, There is a bug in extensible arrows. The syntax of extensible arrows is: \xleftarrow{below}{top} but when the optional argument is used \xleftarrow[small]{A}{B} then A ends up on the top and B on the bottom.

[NTG-context] Bug in math arrows

2018-01-10 Thread Aditya Mahajan
Hi, There is a bug in extensible arrows. The syntax of extensible arrows is: \xleftarrow{below}{top} but when the optional argument is used \xleftarrow[small]{A}{B} then A ends up on the top and B on the bottom. Thanks, Aditya

Re: [NTG-context] extentable arrows

2006-06-29 Thread Hans Hagen
Aditya Mahajan wrote: The syntax can be made identical (even better) than that of amsmath. \def\xrightarrow{\dosingleempty\doxrightarrow} \def\xleftarrow {\dosingleempty\doxleftarrow} \def\doxrightarrow[#1]{\dodoublegroupempty\dodoxrightarrow{#1}} \def\doxleftarrow[#1

Re: [NTG-context] extentable arrows

2006-06-29 Thread Hans Hagen
\xrightarrow{\doifnextcharelse[\noxrightarrow\doxrightarrow} \def\xleftarrow {\doifnextcharelse[\noxleftarrow\doxleftarrow} \def\doxrightarrow{\dodoublegroupempty\dodoxrightarrow} \def\doxleftarrow {\dodoublegroupempty\dodoxleftarrow } \def\noxrightarrow[#1]{\dodoublegroupempty\dodoxrightarrow{#1

[NTG-context] extentable arrows

2006-06-28 Thread Aditya Mahajan
Hi, Does ConTeXt have anything equivalent to xleftarrow, xrightarrow of amsmath. Basically, I need a command that can do A \xleftarrow[subscript]{superscript} B should give superscript A --- B subscript and similar for xrightarrow, xleftrightarrow, xLeftarrow, xRightarrow

Re: [NTG-context] extentable arrows

2006-06-28 Thread Aditya Mahajan
On Wed, 28 Jun 2006, Aditya Mahajan wrote: Hi, Does ConTeXt have anything equivalent to xleftarrow, xrightarrow of amsmath. Basically, I need a command that can do A \xleftarrow[subscript]{superscript} B should give superscript A --- B subscript and similar

Re: [NTG-context] extentable arrows

2006-06-28 Thread Taco Hoekwater
\xrightarrow{\dodoubleempty\doxrightarrow } \def\xleftarrow {\dodoubleempty\doxleftarrow } \def\doxrightarrow[#1][#2]{\mathrel {{\domthxarr0359\rightarrowfill{#1}{#2 \def\doxleftarrow[#1][#2]{\mathrel {{\domthxarr3095\leftarrowfill{#1}{#2 \starttext $$ A \xrightarrow[][stuff

Re: [NTG-context] extentable arrows

2006-06-28 Thread Aditya Mahajan
to \dimen0{\hss\box2\hss% \endgroup} \def\xrightarrow{\dodoubleempty\doxrightarrow } \def\xleftarrow {\dodoubleempty\doxleftarrow } \def\doxrightarrow[#1][#2]{\mathrel {{\domthxarr0359\rightarrowfill{#1}{#2 \def\doxleftarrow[#1][#2]{\mathrel {{\domthxarr3095\leftarrowfill{#1

Re: [NTG-context] extentable arrows

2006-06-28 Thread Aditya Mahajan
On Wed, 28 Jun 2006, Taco Hoekwater wrote: Aditya Mahajan wrote: \xrightarrow{big superscipt} Any suggestions? Not completely identical, but similar. The syntax can be made identical (even better) than that of amsmath. \def\xrightarrow{\dosingleempty\doxrightarrow} \def\xleftarrow